
ticketHub.controller('localOrderBackCtrls',function($scope,$http){	
	$scope.query = function(){				
		layer.load(3,{shadeClose:true});//加载层；
		$http({
			url:'../order/list/inner/refund?pageNum=1&pageSize=10000&temp='+Math.random(),
			method:'get',
		}).success(function(data,header,config,status){
			layer.closeAll();			
			if(data.status=="1001"){
				if(data.data.total=="0"){
					layer.alert("查询结果为空!")
				}else{
					$scope.list = data.data.list;
				}				
			}else{
				layer.alert("查询失败，"+data.message)
			}
			//响应成功
		}).error(function(data,header,config,status){
			layer.closeAll();	
			console.log(data)
			layer.alert("请求失败，请检查网络连接")
			//处理响应失败
		});
	}
	$scope.query();
})
	
	
